package com.sean.stock.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/stock")
public class StockController {
    @RequestMapping("/reduce")
    private String reduce(){
        System.out.println("StockController: 扣减库存！");
        return "StockController: true";
    }
}
